package com.lxy.cloud.mqtt.client.constant.enums;

/**
 * @Author: lxy
 * @Date: 2020/9/7 10:37
 * @Desc: 监听的topic信息
 */
public enum TopicEnum {
    /**
     * 车回应后台服务消息
     */
    REPLY_SERVER_TO_CAR("saic/v/+/ota/command/reply","车回应后台服务消息"),
    CAR_TO_SERVER("saic/v/+/ota/get","车主动请求后台"),
    CAR_NOTIFY_SERVER("saic/v/+/ota/event","车发布消息到后台"),
    ;


    private String topicName;
    private String desc;

    TopicEnum(String topicName, String desc) {
        this.topicName = topicName;
        this.desc = desc;
    }

    public String getTopicName() {
        return topicName;
    }

    public void setTopicName(String topicName) {
        this.topicName = topicName;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
